package com.cloud.custom.api.web;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.cloud.custom.api.bean.SysInfo;
import com.cloud.custom.api.service.CustomBizInterfaceService;

@RestController
@RequestMapping("custom/api/interface")
public class CustomBizInterfaceController {
	
	@Autowired
	private CustomBizInterfaceService customBizInterfaceService;
	
	@RequestMapping("loadsystem")
	public List<SysInfo> loadSystem(String parts){
		return customBizInterfaceService.loadSystem(parts);
	}
}
